package com.raimcomputing.pickforme.common.vo;

/**
 * Represents a user of the system.
 * 
 */
public interface UserVo extends ValueObject {

	/**
	 * 
	 * @return
	 */
	Long getId();

	/**
	 * 
	 * @param id
	 */
	void setId( Long id );

	/**
	 * 
	 * @return
	 */
	String getEmail();

	/**
	 * 
	 * @param email
	 */
	void setEmail( String email );

	/**
	 * Digest of the user's password.
	 * 
	 * @return
	 */
	byte[] getDigest();

	/**
	 * 
	 * 
	 */
	void setDigest( byte[] digest );

	/**
	 * Salt to add to the user's password.
	 * 
	 * @return
	 */
	String getSalt();

	/**
	 * 
	 * @param salt
	 */
	void setSalt( String salt );

}
